﻿using SqlSugar;

namespace SIMS.SqlSugarWebApi.Models
{
    public class Score
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }

        public int StudentId { get; set; }

        [SugarColumn(Length = 30)]
        public string StudentName { get; set; }

        public int CourseId { get; set; }

        [SugarColumn(Length = 30)]
        public string CourseName { get; set; }

        public double Points { get; set; }

        public DateTime CreateTime { get; set; }

        public int CreateUser { get; set; }

        public DateTime LastEditTime { get; set; }

        public int LastEditUser { get; set; }
    }
}
